<template>
  <div class="home">
    {{ title }}
  </div>
</template>

<script lang="ts">
import { useStore } from "@/store";

import { computed, defineComponent } from "vue";

export default defineComponent({
  name: "Home",
  setup() {
    const store = useStore();

    const title = computed(() => store.state.title);

    return {
      title
    };
  }
});
</script>
